/* menu模块接口TS类型 */
/* 获取全部菜单与按钮的标识数据 返回的数据类型 */
export interface permissionData {
  children?: permissionInfo
  code?: string
  createTime?: string
  id?: number | string
  level: number
  name: string
  pid?: number | string
  select?: boolean
  status?: null
  toCode?: null
  type?: number | string
  updateTime?: string
}
export type permissionInfo = permissionData[]
export interface resAllPermission {
  data: {
    code: number
    message: string
    ok: boolean
    data: permissionInfo
  }
}
